package com.atguigu.msm.service;


import com.atguigu.msm.entity.UcenterMember;
import com.atguigu.msm.vo.RegisterVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author Summer-day
 * @since 2020-07-30
 */
public interface UcenterMemberService extends IService<UcenterMember> {

    /**
     * 登录成功,返回token
     */
    String login(UcenterMember member);

    /**
     * 注册
     */
    void register(RegisterVo registerVo);

    /**
     * 判断openid是否存在
     */
    UcenterMember getOpenIdMember(String openid);

    /**
     * 查询某一天的注册人数
     */
    Integer countRegisterNum(String date);

}
